package cn.lili.modules.order.order.entity.dto;

import cn.lili.common.enums.PromotionTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@Slf4j
public class SelectMealGoodsDTO {
    @NotNull(message = "产品id不能为空")
    @ApiModelProperty(value = "商品SKUID")
    private String skuId;

    @NotNull(message = "购买数量不能为空")
    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "分销商Id")
    private String distributionId;

    /**
     * @see cn.lili.modules.order.cart.entity.enums.CartSceneEnum
     */
    @ApiModelProperty(value = "购物车类型")
    private String way;

    @ApiModelProperty("套餐商品购买渠道：0结算页面选择套餐商品、1普通渠道购买")
    private Integer mealGoodsSource;
}
